SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4d17dde6171bc1a932f57b013c19c60cb0c5431991ab4dd4d3bef345e1f0378' 
  AND token = 'lMy+9Bt2N2nj4eKO9U8WY+ky8QlzFuEzJtQMpHToxnY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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