SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12f2cbb722ced7b209e5fa0e6eabadabff1b3d8d91be1a01aab78a01f67c3a62' 
  AND token = 'RuB0EsD7OWN04Xl5v9iSzdhPiB/W7pVsB5NssCa9j4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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