SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d789540406e4cafe077291a75db69517f399452918bab3b45140a01c2a9e516' 
  AND token = 'hERp7Lpi5rd97L5Lz28r0Ov9dj6e+DV/DUJpH7LgIQ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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