SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fa5ecc0e6e705f832ee97baaebc31c4f35429b1998cc7258212b74a2afa4272' 
  AND token = 'ZSQ0nEySLKyHzXe/YmWP63BBdx9PoMB0Min+1zaiXY0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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