SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5045dd33b041473664d5630cac258b0740238886fddfb13c431232df6901a11c' 
  AND token = 'EfaYQ6i2k9Qbs4ZSAlhmC6EgkrCN/HkbYUK8EiJcDo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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