SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34de76779f7679758252753069d5cb306500d89fcf66e51d2ca14cc9a06f2e08' 
  AND token = 'NaoM4ZjHxcxffnTK833wAJt/Oku5UTI6W81E0UL0uE0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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