SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a559a93af407de959411ae782b3e694e79abf6f5abe82117f2682480272126c' 
  AND token = 'ewxQItNy4656bjSSANWuHCwrvgzlTAGEy02fdJQk2II=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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