SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb87948806661ed81624f53ae1f946557f0dc45be1151161928f0b391ce737bb' 
  AND token = '5MYq1TuvlOw7O53jF4f+g0Sl7LQfiNC1w7XY8V+0c7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}