SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0907ef43b9fd1513075370b3c5307b2e2866be601e25895d0a8d77a4fa4905b6' 
  AND token = 'YOktJ1yNiaPuHmMQ2nLsdMeB28iAYSBY2K2U8rRxsl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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