SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2117fccb37431d303822eeb82c7ac8bbd3ee56d0810495ce139505d31ea88ebe' 
  AND token = 'hHJBBsuUKMh8pvtQ5t/wK5oHUJmxCZUy+J1nWkxNpdg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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