SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf3229b557612898bb23ce06b82df592a682a05d3eedd2d0ecacc3072812daeb' 
  AND token = 'Auoh4apmQ5pS9dQ/kEsiF9Bmux2/pRWpmpf7oaAPymI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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