SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd9d0eeed6df5068b374131f2fc6a17bc336422c0150fdfa03bde6dca3911385' 
  AND token = 'ZeXMUyuBCoONSEeFjMNGlBJ2cM9U5MhqJzzkF9KRiPE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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