SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3aba34731c9036f48082b42fa9ab94d4f19b2da2cb71e2246cd7171d6c41d2c' 
  AND token = '8UrTv+f0DvmXBL43aVlwOw4/Mtc25HDrLMsL7R7+yY4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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