SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4051a2a3d9a7009d66078ae297649eb89950a96e93382451b122caf363ea35d1' 
  AND token = 'XHtevITBySdl4hjzCP//adMEHuaG2p7QknQ5NUiXhho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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