SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f97d0f0e4e6e5a095f109b3f2a6134c5f52f5a0f8bcea2aa25f0fbe3157ef02f' 
  AND token = 'I3J0f55TSgaU6+UKTiMssQYrMEXmdkuWoXk1CzuRYDI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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