SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caac659ddc7028d8d97bd17067f9c750cda5e801704919e16144d061e4329bda' 
  AND token = '71S9AyfHqBGanNQ7J3e3Ys3cmKSU4NxO9FJLK8ItlJY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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