SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2af187650b2f4e1e319e18154be6385d5351afcc53fe82051538454187b1b78b' 
  AND token = 'qj/8r/B8gqOxX+qs9gD9rWuE4eP/TXHu12YzGk5xNtg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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