SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc91bead03599ddb3d8954592321a2444e47c362be723a428dfb967185c9a019' 
  AND token = 'hFOjSJQgRbz8oxf8Z71ZmguhklKSaeBe53EgcokSYdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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