SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd20cffd7e7d1eef4210fe851ed54fda713839e823e15d10697a0d5d31f09bb2f' 
  AND token = 'BYrsvDWbtery7cLmJWzoT2rcq+o6hWJVeRw4wpf5sw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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