SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6af44269c0980443eea4a6730fa55eab1adf292c23f1e92b6445cbc7ad1d1855' 
  AND token = 'qnNXikGwx4FYPHm63WO+vVma/sG/5y3efvXopC63fm0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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