SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b1f790681d32fa9ae5895ecde6a7a0bd9449edecb12191e486a60530eadfeac' 
  AND token = 'hcTZLs22hpf4q+6bhNZFwBWBOa+GMzbk09itGvQmKHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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