SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e377523e9b405e66a094fc6997448ca1f95e023d19fac8496a82c565cae4dfa3' 
  AND token = '11HYqWp+bYhOZ+9hJPP1YQxZ/Ip3Gr6CdeJO5k5ngBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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