SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '504882f0860971f69e7a88cc3f9d4408baad64e3d6f765f148225deeb5429018' 
  AND token = 'Lgixy+Sf0fPEZTTJosQ1phx1ipo7qullBtQ1LNxfQ/w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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