SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fe1f78412940079f49aeb8a70480b7b252378b8925b583de30618811c480ff9' 
  AND token = 'l9a6lCas4OK3leoGuR/nICJsi+wI/VovzT38xnw9igw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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