SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4eff335025907b784e68d25587a0f18575c639493c3cac5d2ef51e3109b89a5' 
  AND token = 'xRWYngJxfa4S/1+HNmaOFYvvlbaHY+9BB8++7HU5EIg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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