SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7dc57a6071353c99575619fe4a3629faa5d3522230a800b4813b9f8df392e519' 
  AND token = 'jpaHYI7JMl3Nj+9zaEmJRFVQSM+C8cF/YoaHtxLWN5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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