SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '862e25a3d3dba8a1435763cad9ca56f47f572208521bdb016649a6c9d09b5bc9' 
  AND token = 'WIDS9yHQzvc5Ke3ZmisKCSaEJ6aqIfi5mFOMFPMEwDk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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