SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c02c99c2145abc5f52b37119e06013f8f1d2c8af6c602260c2ce235616d9dfa' 
  AND token = 'FFJ6n/PjGzO91FC4+dlSl5HKWcs/nXhv0Dedcpq2N3Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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